{
 "cells": [
  {
   "cell_type": "markdown",
   "id": "d5f4fe18",
   "metadata": {},
   "source": [
    "* 备注\n",
    "> 1. 城市，关键词，工作经验\n",
    "> 2.城市：'全国'，'北京','上海','天津','重庆','广州','深圳','苏州','南京','杭州','大连','成都','武汉','西安'\n",
    "> 3.关键词：不限\n",
    "> 4.工作经验：'应届生','实习生','1年以内','1-3年','3-5年','5-10年','10年以上'\n",
    "> 5.公司规模：'1-49人','50-99人','100-499人','500-999人','1000-2000人','2000-5000人','5000-10000人','10000人以上'"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "1cdfb489",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "登录cookie inited_user=b9f0a4d487838df5ddb38df08877d9cf; __uuid=1681904456296.00; __gc_id=a9bc2fb7f2064d5f8d78604b49445b4b; need_bind_tel=false; c_flag=2e06fa9ea225580f6a16e3dd21930b50; _ga=GA1.1.260202813.1681904546; new_user=false; XSRF-TOKEN=dVbbNG-9R9izGJB8vAOxog; __tlog=1698836153291.60%7C00000000%7C00000000%7C00000000%7C00000000; Hm_lvt_a2647413544f5a04f00da7eee0d5e200=1697021972,1697626727,1698231156,1698836154; access_system=C; user_roles=0; user_photo=5f8fa3baf6d1ab58476f324908u.png; user_name=%E6%9D%8E%E5%A5%B3%E5%A3%AB; inited_user=b9f0a4d487838df5ddb38df08877d9cf; imId=77cca5dbe480f7bf96b8e949588eca97; imId_0=77cca5dbe480f7bf96b8e949588eca97; imClientId=77cca5dbe480f7bf45d05ea1f04b5227; imClientId_0=77cca5dbe480f7bf45d05ea1f04b5227; imApp_0=1; fe_im_socketSequence_new_0=2_2_2; fe_im_opened_pages=; fe_im_connectJson_0=%7B%220_f0010a1960007f806bc56763ae71c6f2%22%3A%7B%22socketConnect%22%3A%222%22%2C%22connectDomain%22%3A%22liepin.com%22%7D%7D; acw_tc=2760828a16988546704437155ed2c057af86cd5a12900e586e6baaac47be27; Hm_lpvt_a2647413544f5a04f00da7eee0d5e200=1698854720; __tlg_event_seq=147; _ga_54YTJKWN86=GS1.1.1698854668.20.1.1698854726.0.0.0; __session_seq=17; __uv_seq=5\n",
      "这是第1页，接下来将先等待4秒...然后以继续抓取\n",
      "这是第2页，接下来将先等待7秒...然后以继续抓取\n",
      "这是第3页，接下来将先等待10秒...然后以继续抓取\n",
      "这是第4页，接下来将先等待7秒...然后以继续抓取\n",
      "这是第5页，接下来将先等待5秒...然后以继续抓取\n",
      "这是第6页，接下来将先等待8秒...然后以继续抓取\n",
      "这是第7页，接下来将先等待6秒...然后以继续抓取\n",
      "这是第8页，接下来将先等待5秒...然后以继续抓取\n",
      "这是第9页，接下来将先等待7秒...然后以继续抓取\n",
      "这是第10页，接下来将先等待10秒...然后以继续抓取\n"
     ]
    },
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>dataParams</th>\n",
       "      <th>dataInfo</th>\n",
       "      <th>job.labels</th>\n",
       "      <th>job.title</th>\n",
       "      <th>job.jobKind</th>\n",
       "      <th>job.refreshTime</th>\n",
       "      <th>job.jobId</th>\n",
       "      <th>job.dq</th>\n",
       "      <th>job.requireWorkYears</th>\n",
       "      <th>job.requireEduLevel</th>\n",
       "      <th>...</th>\n",
       "      <th>recruiter.recruiterName</th>\n",
       "      <th>recruiter.recruiterTitle</th>\n",
       "      <th>recruiter.recruiterPhoto</th>\n",
       "      <th>comp.compId</th>\n",
       "      <th>comp.compName</th>\n",
       "      <th>comp.compScale</th>\n",
       "      <th>comp.compLogo</th>\n",
       "      <th>comp.link</th>\n",
       "      <th>comp.compIndustry</th>\n",
       "      <th>comp.compStage</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>{\"jobKind\":\"2\",\"userId\":\"a524117aee3bc7d89e3ab...</td>\n",
       "      <td>%7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...</td>\n",
       "      <td>[]</td>\n",
       "      <td>产品经理（API）</td>\n",
       "      <td>2</td>\n",
       "      <td>20231031105341</td>\n",
       "      <td>62575813</td>\n",
       "      <td>北京-朝阳区</td>\n",
       "      <td>经验不限</td>\n",
       "      <td>学历不限</td>\n",
       "      <td>...</td>\n",
       "      <td>张女士</td>\n",
       "      <td>人力资源主管</td>\n",
       "      <td>5f8f9866dfb13a7dee342f1808u.jpg</td>\n",
       "      <td>3456765</td>\n",
       "      <td>达科信息科技(北京)</td>\n",
       "      <td>100-499人</td>\n",
       "      <td>5da18bc80c1585184592366803u.jpg</td>\n",
       "      <td>https://www.liepin.com/company/3456765/</td>\n",
       "      <td>IT服务</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>{\"jobKind\":\"2\",\"userId\":\"7275dba472dc801494d0e...</td>\n",
       "      <td>%7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...</td>\n",
       "      <td>[]</td>\n",
       "      <td>产品经理（API）</td>\n",
       "      <td>2</td>\n",
       "      <td>20230906164826</td>\n",
       "      <td>61427111</td>\n",
       "      <td>北京-朝阳区</td>\n",
       "      <td>经验不限</td>\n",
       "      <td>学历不限</td>\n",
       "      <td>...</td>\n",
       "      <td>任女士</td>\n",
       "      <td></td>\n",
       "      <td>61d7f0a3c3f5b4644a4e41a705u.png</td>\n",
       "      <td>3456765</td>\n",
       "      <td>达科信息科技(北京)</td>\n",
       "      <td>100-499人</td>\n",
       "      <td>5da18bc80c1585184592366803u.jpg</td>\n",
       "      <td>https://www.liepin.com/company/3456765/</td>\n",
       "      <td>IT服务</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>{\"jobKind\":\"2\",\"userId\":\"cb8bc69c2bf4ac9da06f9...</td>\n",
       "      <td>%7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...</td>\n",
       "      <td>[web端产品]</td>\n",
       "      <td>Product Manager</td>\n",
       "      <td>2</td>\n",
       "      <td>20221116171205</td>\n",
       "      <td>50264081</td>\n",
       "      <td>北京-朝阳区</td>\n",
       "      <td>经验不限</td>\n",
       "      <td>统招本科</td>\n",
       "      <td>...</td>\n",
       "      <td>荣女士</td>\n",
       "      <td>人力资源专员</td>\n",
       "      <td>5f8f98648dbe6273dcf8515508u.jpg</td>\n",
       "      <td>13233893</td>\n",
       "      <td>北京通证思维科技有限公司</td>\n",
       "      <td>1-49人</td>\n",
       "      <td>61a160cf1bd4fb704eb2167304u.jpg</td>\n",
       "      <td>https://www.liepin.com/company/13233893/</td>\n",
       "      <td>区块链</td>\n",
       "      <td>天使轮</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>{\"jobKind\":\"2\",\"userId\":\"efd682ffb2d75c5f7925f...</td>\n",
       "      <td>%7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...</td>\n",
       "      <td>[]</td>\n",
       "      <td>Virtual Assistant Product Concept – Avatar 语音系...</td>\n",
       "      <td>2</td>\n",
       "      <td>20230206103453</td>\n",
       "      <td>55239349</td>\n",
       "      <td>北京-朝阳区</td>\n",
       "      <td>经验不限</td>\n",
       "      <td>本科</td>\n",
       "      <td>...</td>\n",
       "      <td>袁女士</td>\n",
       "      <td>HR Recruiting and Marketing</td>\n",
       "      <td>5f8f98648dbe6273dcf8515508u.jpg</td>\n",
       "      <td>8494044</td>\n",
       "      <td>梅赛德斯-奔驰</td>\n",
       "      <td>10000人以上</td>\n",
       "      <td>643fbaa143179d0688cc8dc104u.png</td>\n",
       "      <td>https://www.liepin.com/company/8494044/</td>\n",
       "      <td>整车制造</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>{\"jobKind\":\"2\",\"userId\":\"c52ed81efab731495fe28...</td>\n",
       "      <td>%7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...</td>\n",
       "      <td>[需求分析, 商业智能, bi]</td>\n",
       "      <td>数据产品经理</td>\n",
       "      <td>2</td>\n",
       "      <td>20200207215150</td>\n",
       "      <td>25969223</td>\n",
       "      <td>北京</td>\n",
       "      <td>经验不限</td>\n",
       "      <td>本科</td>\n",
       "      <td>...</td>\n",
       "      <td>李女士</td>\n",
       "      <td>数据产品经理</td>\n",
       "      <td>5f8f9865ea60860b75384fa508u.jpg</td>\n",
       "      <td>9352611</td>\n",
       "      <td>北京抖音信息服务有限公司</td>\n",
       "      <td>10000人以上</td>\n",
       "      <td>59fa8a1d70323b4a8499a2c705a.jpg</td>\n",
       "      <td>https://www.liepin.com/company/9352611/</td>\n",
       "      <td>在线社交/媒体</td>\n",
       "      <td>D轮</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>{\"jobKind\":\"2\",\"jobId\":\"24186625\",\"userId\":\"09...</td>\n",
       "      <td>%7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...</td>\n",
       "      <td>[数据分析]</td>\n",
       "      <td>产品运营</td>\n",
       "      <td>2</td>\n",
       "      <td>20191017150045</td>\n",
       "      <td>24186625</td>\n",
       "      <td>北京</td>\n",
       "      <td>经验不限</td>\n",
       "      <td>本科</td>\n",
       "      <td>...</td>\n",
       "      <td>李先生</td>\n",
       "      <td>运营经理</td>\n",
       "      <td>54fe7750430a64a0e0bfc81401a.jpg</td>\n",
       "      <td>8690015</td>\n",
       "      <td>北京城市网邻信息技术有限公司</td>\n",
       "      <td>10000人以上</td>\n",
       "      <td>5bfe99b074719df0ac99af3603a.png</td>\n",
       "      <td>https://www.liepin.com/company/8690015/</td>\n",
       "      <td>互联网</td>\n",
       "      <td>融资未公开</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>{\"jobKind\":\"2\",\"jobId\":\"24524951\",\"userId\":\"a2...</td>\n",
       "      <td>%7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...</td>\n",
       "      <td>[活动运营, 渠道运营, 电商产品运营, b端产品运营]</td>\n",
       "      <td>产品运营</td>\n",
       "      <td>2</td>\n",
       "      <td>20191104132120</td>\n",
       "      <td>24524951</td>\n",
       "      <td>北京</td>\n",
       "      <td>经验不限</td>\n",
       "      <td>学历不限</td>\n",
       "      <td>...</td>\n",
       "      <td>陈先生</td>\n",
       "      <td>运营</td>\n",
       "      <td>5f8f98698dbe6273dcf8516008u.jpg</td>\n",
       "      <td>10244609</td>\n",
       "      <td>北京诚悦晟达商贸有限公司</td>\n",
       "      <td></td>\n",
       "      <td>61b07937d0458d53c627567e02u.jpg</td>\n",
       "      <td>https://www.liepin.com/company/10244609/</td>\n",
       "      <td>批发/零售</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>{\"jobKind\":\"2\",\"jobId\":\"36479543\",\"userId\":\"69...</td>\n",
       "      <td>%7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...</td>\n",
       "      <td>[python, shell, 项目管理, 漏洞扫描]</td>\n",
       "      <td>网络安全实施工程师</td>\n",
       "      <td>2</td>\n",
       "      <td>20210302215006</td>\n",
       "      <td>36479543</td>\n",
       "      <td>北京-海淀区</td>\n",
       "      <td>经验不限</td>\n",
       "      <td>本科</td>\n",
       "      <td>...</td>\n",
       "      <td>罗女士</td>\n",
       "      <td>技术支持</td>\n",
       "      <td>5f8f986779c7cc70efbf36c008u.jpg</td>\n",
       "      <td>12151165</td>\n",
       "      <td>北京长亭未来科技有限公司</td>\n",
       "      <td></td>\n",
       "      <td>61b07937d0458d53c627567e02u.jpg</td>\n",
       "      <td>https://www.liepin.com/company/12151165/</td>\n",
       "      <td>批发/零售</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>{\"jobKind\":\"2\",\"jobId\":\"48684687\",\"userId\":\"ce...</td>\n",
       "      <td>%7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...</td>\n",
       "      <td>[社群运营, 数据分析, to C, 线上运营, 汽车行业]</td>\n",
       "      <td>智能座舱领域产品运营</td>\n",
       "      <td>2</td>\n",
       "      <td>20220414164605</td>\n",
       "      <td>48684687</td>\n",
       "      <td>北京-朝阳区</td>\n",
       "      <td>经验不限</td>\n",
       "      <td>本科</td>\n",
       "      <td>...</td>\n",
       "      <td>李先生</td>\n",
       "      <td>资深产品经理</td>\n",
       "      <td>5f8f986c79c7cc70efbf36c808u.jpg</td>\n",
       "      <td>12386523</td>\n",
       "      <td>一汽(北京)软件科技有限公司</td>\n",
       "      <td>100-499人</td>\n",
       "      <td>61b07937d0458d53c627567e02u.jpg</td>\n",
       "      <td>https://www.liepin.com/company/12386523/</td>\n",
       "      <td>人工智能</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>{\"jobKind\":\"2\",\"jobId\":\"62278129\",\"userId\":\"98...</td>\n",
       "      <td>%7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...</td>\n",
       "      <td>[]</td>\n",
       "      <td>区域诊断主管/经理</td>\n",
       "      <td>2</td>\n",
       "      <td>20231101101431</td>\n",
       "      <td>62278129</td>\n",
       "      <td>北京-朝阳区</td>\n",
       "      <td>经验不限</td>\n",
       "      <td>学历不限</td>\n",
       "      <td>...</td>\n",
       "      <td>彭女士</td>\n",
       "      <td>人才招募官</td>\n",
       "      <td>5f8f98648dbe6273dcf8515508u.jpg</td>\n",
       "      <td>9298343</td>\n",
       "      <td>卫材(中国)药业有限公司上海分公司</td>\n",
       "      <td>1000-2000人</td>\n",
       "      <td>599bc64770322d9bd8735d0c04a.jpg</td>\n",
       "      <td>https://www.liepin.com/company/9298343/</td>\n",
       "      <td>制药</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>400 rows × 31 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                           dataParams  \\\n",
       "0   {\"jobKind\":\"2\",\"userId\":\"a524117aee3bc7d89e3ab...   \n",
       "1   {\"jobKind\":\"2\",\"userId\":\"7275dba472dc801494d0e...   \n",
       "2   {\"jobKind\":\"2\",\"userId\":\"cb8bc69c2bf4ac9da06f9...   \n",
       "3   {\"jobKind\":\"2\",\"userId\":\"efd682ffb2d75c5f7925f...   \n",
       "4   {\"jobKind\":\"2\",\"userId\":\"c52ed81efab731495fe28...   \n",
       "..                                                ...   \n",
       "35  {\"jobKind\":\"2\",\"jobId\":\"24186625\",\"userId\":\"09...   \n",
       "36  {\"jobKind\":\"2\",\"jobId\":\"24524951\",\"userId\":\"a2...   \n",
       "37  {\"jobKind\":\"2\",\"jobId\":\"36479543\",\"userId\":\"69...   \n",
       "38  {\"jobKind\":\"2\",\"jobId\":\"48684687\",\"userId\":\"ce...   \n",
       "39  {\"jobKind\":\"2\",\"jobId\":\"62278129\",\"userId\":\"98...   \n",
       "\n",
       "                                             dataInfo  \\\n",
       "0   %7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...   \n",
       "1   %7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...   \n",
       "2   %7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...   \n",
       "3   %7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...   \n",
       "4   %7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...   \n",
       "..                                                ...   \n",
       "35  %7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...   \n",
       "36  %7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...   \n",
       "37  %7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...   \n",
       "38  %7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...   \n",
       "39  %7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...   \n",
       "\n",
       "                        job.labels  \\\n",
       "0                               []   \n",
       "1                               []   \n",
       "2                         [web端产品]   \n",
       "3                               []   \n",
       "4                 [需求分析, 商业智能, bi]   \n",
       "..                             ...   \n",
       "35                          [数据分析]   \n",
       "36    [活动运营, 渠道运营, 电商产品运营, b端产品运营]   \n",
       "37     [python, shell, 项目管理, 漏洞扫描]   \n",
       "38  [社群运营, 数据分析, to C, 线上运营, 汽车行业]   \n",
       "39                              []   \n",
       "\n",
       "                                            job.title job.jobKind  \\\n",
       "0                                           产品经理（API）           2   \n",
       "1                                           产品经理（API）           2   \n",
       "2                                     Product Manager           2   \n",
       "3   Virtual Assistant Product Concept – Avatar 语音系...           2   \n",
       "4                                              数据产品经理           2   \n",
       "..                                                ...         ...   \n",
       "35                                               产品运营           2   \n",
       "36                                               产品运营           2   \n",
       "37                                          网络安全实施工程师           2   \n",
       "38                                         智能座舱领域产品运营           2   \n",
       "39                                          区域诊断主管/经理           2   \n",
       "\n",
       "   job.refreshTime job.jobId  job.dq job.requireWorkYears job.requireEduLevel  \\\n",
       "0   20231031105341  62575813  北京-朝阳区                 经验不限                学历不限   \n",
       "1   20230906164826  61427111  北京-朝阳区                 经验不限                学历不限   \n",
       "2   20221116171205  50264081  北京-朝阳区                 经验不限                统招本科   \n",
       "3   20230206103453  55239349  北京-朝阳区                 经验不限                  本科   \n",
       "4   20200207215150  25969223      北京                 经验不限                  本科   \n",
       "..             ...       ...     ...                  ...                 ...   \n",
       "35  20191017150045  24186625      北京                 经验不限                  本科   \n",
       "36  20191104132120  24524951      北京                 经验不限                学历不限   \n",
       "37  20210302215006  36479543  北京-海淀区                 经验不限                  本科   \n",
       "38  20220414164605  48684687  北京-朝阳区                 经验不限                  本科   \n",
       "39  20231101101431  62278129  北京-朝阳区                 经验不限                学历不限   \n",
       "\n",
       "    ...  recruiter.recruiterName     recruiter.recruiterTitle  \\\n",
       "0   ...                      张女士                       人力资源主管   \n",
       "1   ...                      任女士                                \n",
       "2   ...                      荣女士                       人力资源专员   \n",
       "3   ...                      袁女士  HR Recruiting and Marketing   \n",
       "4   ...                      李女士                       数据产品经理   \n",
       "..  ...                      ...                          ...   \n",
       "35  ...                      李先生                         运营经理   \n",
       "36  ...                      陈先生                           运营   \n",
       "37  ...                      罗女士                         技术支持   \n",
       "38  ...                      李先生                       资深产品经理   \n",
       "39  ...                      彭女士                        人才招募官   \n",
       "\n",
       "           recruiter.recruiterPhoto comp.compId      comp.compName  \\\n",
       "0   5f8f9866dfb13a7dee342f1808u.jpg     3456765         达科信息科技(北京)   \n",
       "1   61d7f0a3c3f5b4644a4e41a705u.png     3456765         达科信息科技(北京)   \n",
       "2   5f8f98648dbe6273dcf8515508u.jpg    13233893       北京通证思维科技有限公司   \n",
       "3   5f8f98648dbe6273dcf8515508u.jpg     8494044            梅赛德斯-奔驰   \n",
       "4   5f8f9865ea60860b75384fa508u.jpg     9352611       北京抖音信息服务有限公司   \n",
       "..                              ...         ...                ...   \n",
       "35  54fe7750430a64a0e0bfc81401a.jpg     8690015     北京城市网邻信息技术有限公司   \n",
       "36  5f8f98698dbe6273dcf8516008u.jpg    10244609       北京诚悦晟达商贸有限公司   \n",
       "37  5f8f986779c7cc70efbf36c008u.jpg    12151165       北京长亭未来科技有限公司   \n",
       "38  5f8f986c79c7cc70efbf36c808u.jpg    12386523     一汽(北京)软件科技有限公司   \n",
       "39  5f8f98648dbe6273dcf8515508u.jpg     9298343  卫材(中国)药业有限公司上海分公司   \n",
       "\n",
       "    comp.compScale                    comp.compLogo  \\\n",
       "0         100-499人  5da18bc80c1585184592366803u.jpg   \n",
       "1         100-499人  5da18bc80c1585184592366803u.jpg   \n",
       "2            1-49人  61a160cf1bd4fb704eb2167304u.jpg   \n",
       "3         10000人以上  643fbaa143179d0688cc8dc104u.png   \n",
       "4         10000人以上  59fa8a1d70323b4a8499a2c705a.jpg   \n",
       "..             ...                              ...   \n",
       "35        10000人以上  5bfe99b074719df0ac99af3603a.png   \n",
       "36                  61b07937d0458d53c627567e02u.jpg   \n",
       "37                  61b07937d0458d53c627567e02u.jpg   \n",
       "38        100-499人  61b07937d0458d53c627567e02u.jpg   \n",
       "39      1000-2000人  599bc64770322d9bd8735d0c04a.jpg   \n",
       "\n",
       "                                   comp.link comp.compIndustry comp.compStage  \n",
       "0    https://www.liepin.com/company/3456765/              IT服务            NaN  \n",
       "1    https://www.liepin.com/company/3456765/              IT服务            NaN  \n",
       "2   https://www.liepin.com/company/13233893/               区块链            天使轮  \n",
       "3    https://www.liepin.com/company/8494044/              整车制造            NaN  \n",
       "4    https://www.liepin.com/company/9352611/           在线社交/媒体             D轮  \n",
       "..                                       ...               ...            ...  \n",
       "35   https://www.liepin.com/company/8690015/               互联网          融资未公开  \n",
       "36  https://www.liepin.com/company/10244609/             批发/零售            NaN  \n",
       "37  https://www.liepin.com/company/12151165/             批发/零售            NaN  \n",
       "38  https://www.liepin.com/company/12386523/              人工智能            NaN  \n",
       "39   https://www.liepin.com/company/9298343/                制药            NaN  \n",
       "\n",
       "[400 rows x 31 columns]"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "import crawl_liepin\n",
    "\n",
    "crawl_liepin.crawl(城市=\"北京\",关键词=\"产品经理\",工作经验='应届生')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "b93af6a5",
   "metadata": {},
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "markdown",
   "id": "211281bd",
   "metadata": {},
   "source": [
    "# 1.第一个目标：cookies实现登录，获取完整数据"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "id": "44cb5dd2",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "'inited_user=b9f0a4d487838df5ddb38df08877d9cf; __uuid=1681904456296.00; __gc_id=a9bc2fb7f2064d5f8d78604b49445b4b; need_bind_tel=false; c_flag=2e06fa9ea225580f6a16e3dd21930b50; _ga=GA1.1.260202813.1681904546; new_user=false; XSRF-TOKEN=dVbbNG-9R9izGJB8vAOxog; __tlog=1698836153291.60%7C00000000%7C00000000%7C00000000%7C00000000; Hm_lvt_a2647413544f5a04f00da7eee0d5e200=1697021972,1697626727,1698231156,1698836154; access_system=C; user_roles=0; user_photo=5f8fa3baf6d1ab58476f324908u.png; user_name=%E6%9D%8E%E5%A5%B3%E5%A3%AB; inited_user=b9f0a4d487838df5ddb38df08877d9cf; imId=77cca5dbe480f7bf96b8e949588eca97; imId_0=77cca5dbe480f7bf96b8e949588eca97; imClientId=77cca5dbe480f7bf45d05ea1f04b5227; imClientId_0=77cca5dbe480f7bf45d05ea1f04b5227; imApp_0=1; acw_tc=2760828a16988546704437155ed2c057af86cd5a12900e586e6baaac47be27; UniqueKey=f0010a1960007f806bc56763ae71c6f2; liepin_login_valid=0; lt_auth=vesOOiQHzlyv5CXe32YPsPobiI%2BrVWrNpy4E1h9ShN7tCPGz4P%2FmQAmPrLgC%2BCoIqxNzcvkzMLb3PeD7zHtN7EQb%2F1GnlZ6utf6k1X8eRt11HuyflMX6k83QSqUmrXg6yUpyn2si; hpo_role-sec_project=sec_project_liepin; hpo_sec_tenant=0; __uv_seq=8; __session_seq=20; Hm_lpvt_a2647413544f5a04f00da7eee0d5e200=1698855885; fe_im_socketSequence_new_0=4_2_4; __tlg_event_seq=192; fe_im_connectJson_0=%7B%220_f0010a1960007f806bc56763ae71c6f2%22%3A%7B%22socketConnect%22%3A%223%22%2C%22connectDomain%22%3A%22liepin.com%22%7D%7D; fe_im_opened_pages=; _ga_54YTJKWN86=GS1.1.1698854668.20.1.1698855890.0.0.0'"
      ]
     },
     "execution_count": 4,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "# 建立登录cookies\n",
    "cookie = \"inited_user=b9f0a4d487838df5ddb38df08877d9cf; __uuid=1681904456296.00; __gc_id=a9bc2fb7f2064d5f8d78604b49445b4b; need_bind_tel=false; c_flag=2e06fa9ea225580f6a16e3dd21930b50; _ga=GA1.1.260202813.1681904546; new_user=false; XSRF-TOKEN=dVbbNG-9R9izGJB8vAOxog; __tlog=1698836153291.60%7C00000000%7C00000000%7C00000000%7C00000000; Hm_lvt_a2647413544f5a04f00da7eee0d5e200=1697021972,1697626727,1698231156,1698836154; access_system=C; user_roles=0; user_photo=5f8fa3baf6d1ab58476f324908u.png; user_name=%E6%9D%8E%E5%A5%B3%E5%A3%AB; inited_user=b9f0a4d487838df5ddb38df08877d9cf; imId=77cca5dbe480f7bf96b8e949588eca97; imId_0=77cca5dbe480f7bf96b8e949588eca97; imClientId=77cca5dbe480f7bf45d05ea1f04b5227; imClientId_0=77cca5dbe480f7bf45d05ea1f04b5227; imApp_0=1; acw_tc=2760828a16988546704437155ed2c057af86cd5a12900e586e6baaac47be27; UniqueKey=f0010a1960007f806bc56763ae71c6f2; liepin_login_valid=0; lt_auth=vesOOiQHzlyv5CXe32YPsPobiI%2BrVWrNpy4E1h9ShN7tCPGz4P%2FmQAmPrLgC%2BCoIqxNzcvkzMLb3PeD7zHtN7EQb%2F1GnlZ6utf6k1X8eRt11HuyflMX6k83QSqUmrXg6yUpyn2si; hpo_role-sec_project=sec_project_liepin; hpo_sec_tenant=0; __uv_seq=8; __session_seq=20; Hm_lpvt_a2647413544f5a04f00da7eee0d5e200=1698855885; fe_im_socketSequence_new_0=4_2_4; __tlg_event_seq=192; fe_im_connectJson_0=%7B%220_f0010a1960007f806bc56763ae71c6f2%22%3A%7B%22socketConnect%22%3A%223%22%2C%22connectDomain%22%3A%22liepin.com%22%7D%7D; fe_im_opened_pages=; _ga_54YTJKWN86=GS1.1.1698854668.20.1.1698855890.0.0.0\"\n",
    "cookie"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "id": "9246df1e",
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "登录cookie inited_user=b9f0a4d487838df5ddb38df08877d9cf; __uuid=1681904456296.00; __gc_id=a9bc2fb7f2064d5f8d78604b49445b4b; need_bind_tel=false; c_flag=2e06fa9ea225580f6a16e3dd21930b50; _ga=GA1.1.260202813.1681904546; new_user=false; XSRF-TOKEN=dVbbNG-9R9izGJB8vAOxog; __tlog=1698836153291.60%7C00000000%7C00000000%7C00000000%7C00000000; Hm_lvt_a2647413544f5a04f00da7eee0d5e200=1697021972,1697626727,1698231156,1698836154; access_system=C; user_roles=0; user_photo=5f8fa3baf6d1ab58476f324908u.png; user_name=%E6%9D%8E%E5%A5%B3%E5%A3%AB; inited_user=b9f0a4d487838df5ddb38df08877d9cf; imId=77cca5dbe480f7bf96b8e949588eca97; imId_0=77cca5dbe480f7bf96b8e949588eca97; imClientId=77cca5dbe480f7bf45d05ea1f04b5227; imClientId_0=77cca5dbe480f7bf45d05ea1f04b5227; imApp_0=1; acw_tc=2760828a16988546704437155ed2c057af86cd5a12900e586e6baaac47be27; UniqueKey=f0010a1960007f806bc56763ae71c6f2; liepin_login_valid=0; lt_auth=vesOOiQHzlyv5CXe32YPsPobiI%2BrVWrNpy4E1h9ShN7tCPGz4P%2FmQAmPrLgC%2BCoIqxNzcvkzMLb3PeD7zHtN7EQb%2F1GnlZ6utf6k1X8eRt11HuyflMX6k83QSqUmrXg6yUpyn2si; hpo_role-sec_project=sec_project_liepin; hpo_sec_tenant=0; __uv_seq=8; __session_seq=20; Hm_lpvt_a2647413544f5a04f00da7eee0d5e200=1698855885; fe_im_socketSequence_new_0=4_2_4; __tlg_event_seq=192; fe_im_connectJson_0=%7B%220_f0010a1960007f806bc56763ae71c6f2%22%3A%7B%22socketConnect%22%3A%223%22%2C%22connectDomain%22%3A%22liepin.com%22%7D%7D; fe_im_opened_pages=; _ga_54YTJKWN86=GS1.1.1698854668.20.1.1698855890.0.0.0\n",
      "这是第1页，接下来将先等待5秒...然后以继续抓取\n",
      "这是第2页，接下来将先等待7秒...然后以继续抓取\n",
      "这是第3页，接下来将先等待6秒...然后以继续抓取\n",
      "这是第4页，接下来将先等待7秒...然后以继续抓取\n",
      "这是第5页，接下来将先等待3秒...然后以继续抓取\n",
      "这是第6页，接下来将先等待7秒...然后以继续抓取\n",
      "这是第7页，接下来将先等待9秒...然后以继续抓取\n",
      "这是第8页，接下来将先等待10秒...然后以继续抓取\n",
      "这是第9页，接下来将先等待3秒...然后以继续抓取\n",
      "这是第10页，接下来将先等待4秒...然后以继续抓取\n",
      "这是第11页，接下来将先等待9秒...然后以继续抓取\n",
      "这是第12页，接下来将先等待7秒...然后以继续抓取\n",
      "这是第13页，接下来将先等待9秒...然后以继续抓取\n",
      "这是第14页，接下来将先等待3秒...然后以继续抓取\n",
      "这是第15页，接下来将先等待10秒...然后以继续抓取\n",
      "这是第16页，接下来将先等待8秒...然后以继续抓取\n",
      "这是第17页，接下来将先等待4秒...然后以继续抓取\n",
      "这是第18页，接下来将先等待3秒...然后以继续抓取\n",
      "这是第19页，接下来将先等待7秒...然后以继续抓取\n",
      "这是第20页，接下来将先等待6秒...然后以继续抓取\n"
     ]
    }
   ],
   "source": [
    "import crawl_liepin\n",
    "\n",
    "产品经理_深圳_results = crawl_liepin.crawl(城市=\"深圳\",关键词=\"产品经理\",工作经验='',登录cookie=cookie)"
   ]
  },
  {
   "cell_type": "markdown",
   "id": "2f36e6be",
   "metadata": {},
   "source": [
    "# 2.尝试使用数据分析进行数据交互式可视化"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "id": "eb93d4c2",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>dataParams</th>\n",
       "      <th>dataInfo</th>\n",
       "      <th>comp.compIndustry</th>\n",
       "      <th>comp.compName</th>\n",
       "      <th>comp.compStage</th>\n",
       "      <th>comp.compLogo</th>\n",
       "      <th>comp.compScale</th>\n",
       "      <th>comp.compId</th>\n",
       "      <th>comp.link</th>\n",
       "      <th>job.labels</th>\n",
       "      <th>...</th>\n",
       "      <th>job.link</th>\n",
       "      <th>job.dataPromId</th>\n",
       "      <th>recruiter.chatted</th>\n",
       "      <th>recruiter.recruiterId</th>\n",
       "      <th>recruiter.recruiterName</th>\n",
       "      <th>recruiter.recruiterTitle</th>\n",
       "      <th>recruiter.imId</th>\n",
       "      <th>recruiter.imUserType</th>\n",
       "      <th>recruiter.recruiterPhoto</th>\n",
       "      <th>job.campusJobKind</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>{\"jobId\":\"48818805\",\"recruiterName\":\"吴先生\",\"imI...</td>\n",
       "      <td>%7B%22d_curPage%22%3A%220%22%2C%22d_pageSize%2...</td>\n",
       "      <td>电子/半导体/集成电路</td>\n",
       "      <td>厦门唯样科技有限公司</td>\n",
       "      <td>融资未公开</td>\n",
       "      <td>5c6e1794261c45f047888e8e04u.png</td>\n",
       "      <td>50-99人</td>\n",
       "      <td>9885213.0</td>\n",
       "      <td>https://www.liepin.com/company/9885213/</td>\n",
       "      <td>[渠道运营, 产品运营]</td>\n",
       "      <td>...</td>\n",
       "      <td>https://www.liepin.com/job/1948818805.shtml</td>\n",
       "      <td>d_sfrom=search_prime&amp;d_ckId=null&amp;d_curPage=0&amp;d...</td>\n",
       "      <td>False</td>\n",
       "      <td>09ea96f81e58eafe6ac4e705fd2725a1</td>\n",
       "      <td>吴先生</td>\n",
       "      <td>总经理</td>\n",
       "      <td>fd14de11be220755ac365a663ca833da</td>\n",
       "      <td>2</td>\n",
       "      <td>5f8f986bdfb13a7dee342f2108u.jpg</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>{\"jobId\":\"61653337\",\"recruiterName\":\"秦女士\",\"imI...</td>\n",
       "      <td>%7B%22d_curPage%22%3A%220%22%2C%22d_pageSize%2...</td>\n",
       "      <td>房地产开发经营</td>\n",
       "      <td>深圳市星河商置集团有限公司</td>\n",
       "      <td>NaN</td>\n",
       "      <td>60c19143d386331b9911807308u.png</td>\n",
       "      <td>1000-2000人</td>\n",
       "      <td>10014083.0</td>\n",
       "      <td>https://www.liepin.com/company/10014083/</td>\n",
       "      <td>[本科]</td>\n",
       "      <td>...</td>\n",
       "      <td>https://www.liepin.com/lptjob/61653337</td>\n",
       "      <td>d_sfrom=search_prime&amp;d_ckId=null&amp;d_curPage=0&amp;d...</td>\n",
       "      <td>False</td>\n",
       "      <td>c960a7e65b25d69968472aa719a7e906</td>\n",
       "      <td>秦女士</td>\n",
       "      <td></td>\n",
       "      <td>edcfb0c58429eea8befa578784e31c32</td>\n",
       "      <td>2</td>\n",
       "      <td>5f8f9866dfb13a7dee342f1808u.jpg</td>\n",
       "      <td>应届</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>{\"jobId\":\"61177229\",\"recruiterName\":\"陈女士\",\"imI...</td>\n",
       "      <td>%7B%22d_curPage%22%3A%220%22%2C%22d_pageSize%2...</td>\n",
       "      <td>货运/物流/仓储</td>\n",
       "      <td>华灵云科技</td>\n",
       "      <td>A轮</td>\n",
       "      <td>63f815663b91264a105d2ce008u.png</td>\n",
       "      <td>100-499人</td>\n",
       "      <td>9223438.0</td>\n",
       "      <td>https://www.liepin.com/company/9223438/</td>\n",
       "      <td>[本科, 产品优化, 数据分析, 流程设计, 市场调研, 海外产品, 供应链产品, 电商产品...</td>\n",
       "      <td>...</td>\n",
       "      <td>https://www.liepin.com/lptjob/61177229</td>\n",
       "      <td>d_sfrom=search_prime&amp;d_ckId=null&amp;d_curPage=0&amp;d...</td>\n",
       "      <td>False</td>\n",
       "      <td>6d03c94152e68a1deb7401c8ff401190</td>\n",
       "      <td>陈女士</td>\n",
       "      <td>HR</td>\n",
       "      <td>c240626b125829e0ccf79dbc9e75a66a</td>\n",
       "      <td>2</td>\n",
       "      <td>5f8f986779c7cc70efbf36c008u.jpg</td>\n",
       "      <td>应届</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>{\"jobId\":\"42531029\",\"recruiterName\":\"徐女士\",\"imI...</td>\n",
       "      <td>%7B%22d_curPage%22%3A%220%22%2C%22d_pageSize%2...</td>\n",
       "      <td>基金/证券/期货</td>\n",
       "      <td>中证信用</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5bfe9c9474719df0ac9a3d2803a.png</td>\n",
       "      <td>500-999人</td>\n",
       "      <td>8518539.0</td>\n",
       "      <td>https://www.liepin.com/company/8518539/</td>\n",
       "      <td>[本科]</td>\n",
       "      <td>...</td>\n",
       "      <td>https://www.liepin.com/lptjob/42531029</td>\n",
       "      <td>d_sfrom=search_prime&amp;d_ckId=null&amp;d_curPage=0&amp;d...</td>\n",
       "      <td>False</td>\n",
       "      <td>ef5d580dff432d194afb66bee97d56f1</td>\n",
       "      <td>徐女士</td>\n",
       "      <td>人力资源主管</td>\n",
       "      <td>73039a92c2455c32dfb6df235db455f2</td>\n",
       "      <td>2</td>\n",
       "      <td>5f8f986779c7cc70efbf36c008u.jpg</td>\n",
       "      <td>应届</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>{\"jobId\":\"58493007\",\"recruiterName\":\"姚女士\",\"imI...</td>\n",
       "      <td>%7B%22d_curPage%22%3A%220%22%2C%22d_pageSize%2...</td>\n",
       "      <td>制药</td>\n",
       "      <td>深圳华大基因股份有限公司-</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5f856e348dbe6273dcf3420906u.png</td>\n",
       "      <td>2000-5000人</td>\n",
       "      <td>9997171.0</td>\n",
       "      <td>https://www.liepin.com/company/9997171/</td>\n",
       "      <td>[硕士, 策略产品, 药物研发]</td>\n",
       "      <td>...</td>\n",
       "      <td>https://www.liepin.com/lptjob/58493007</td>\n",
       "      <td>d_sfrom=search_prime&amp;d_ckId=null&amp;d_curPage=0&amp;d...</td>\n",
       "      <td>False</td>\n",
       "      <td>5533e5908488031ad49ac88f0f6f1954</td>\n",
       "      <td>姚女士</td>\n",
       "      <td>hr主管</td>\n",
       "      <td>0acc37b082c9b84172bb60d29c324b6a</td>\n",
       "      <td>2</td>\n",
       "      <td>5f8f9866dfb13a7dee342f1808u.jpg</td>\n",
       "      <td>应届</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>35</th>\n",
       "      <td>{\"jobKind\":\"2\",\"userId\":\"a635928ed4daa55b7bf45...</td>\n",
       "      <td>%7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...</td>\n",
       "      <td>电子/半导体/集成电路</td>\n",
       "      <td>深圳勤基科技有限公司</td>\n",
       "      <td>NaN</td>\n",
       "      <td>5f471a98ea60860b750a898304u.jpg</td>\n",
       "      <td>500-999人</td>\n",
       "      <td>7912855.0</td>\n",
       "      <td>https://www.liepin.com/company/7912855/</td>\n",
       "      <td>[IC行业, 项目管理, 电源适配器]</td>\n",
       "      <td>...</td>\n",
       "      <td>https://www.liepin.com/job/1940089889.shtml</td>\n",
       "      <td>d_sfrom=search_prime&amp;d_ckId=null&amp;d_curPage=19&amp;...</td>\n",
       "      <td>False</td>\n",
       "      <td>a635928ed4daa55b7bf4554d6fc4f6ab</td>\n",
       "      <td>张先生</td>\n",
       "      <td>副总经理</td>\n",
       "      <td>68772ed4d1c15eb002f523e94e784db2</td>\n",
       "      <td>2</td>\n",
       "      <td>5f8f986aea60860b75384fab08u.jpg</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>36</th>\n",
       "      <td>{\"jobKind\":\"2\",\"userId\":\"5c6bf22f396570fcac158...</td>\n",
       "      <td>%7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...</td>\n",
       "      <td>批发/零售</td>\n",
       "      <td>北京多拉科技有限公司</td>\n",
       "      <td>B轮</td>\n",
       "      <td>5ea16f9f82b0b02ff4155fe102u.jpg</td>\n",
       "      <td>100-499人</td>\n",
       "      <td>9205583.0</td>\n",
       "      <td>https://www.liepin.com/company/9205583/</td>\n",
       "      <td>[数据分析, 项目管理, 分析网络流量指标, 网站内容开发管理]</td>\n",
       "      <td>...</td>\n",
       "      <td>https://www.liepin.com/job/1937310997.shtml</td>\n",
       "      <td>d_sfrom=search_prime&amp;d_ckId=null&amp;d_curPage=19&amp;...</td>\n",
       "      <td>False</td>\n",
       "      <td>5c6bf22f396570fcac158622158dfd68</td>\n",
       "      <td>何先生</td>\n",
       "      <td>hr</td>\n",
       "      <td>7689ddce3bd8820ddfb6df235db455f2</td>\n",
       "      <td>2</td>\n",
       "      <td>5f8f986c79c7cc70efbf36c808u.jpg</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>37</th>\n",
       "      <td>{\"jobKind\":\"2\",\"userId\":\"383abb07ed413052f94fc...</td>\n",
       "      <td>%7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...</td>\n",
       "      <td>互联网</td>\n",
       "      <td>法本信息</td>\n",
       "      <td>已上市</td>\n",
       "      <td>5d8c1e41d0e79f08cf11c72e04u.jpg</td>\n",
       "      <td>10000人以上</td>\n",
       "      <td>7604446.0</td>\n",
       "      <td>https://www.liepin.com/company/7604446/</td>\n",
       "      <td>[oracle, hbase, redis, mongodb, crm, 需求分析]</td>\n",
       "      <td>...</td>\n",
       "      <td>https://www.liepin.com/job/1943007349.shtml</td>\n",
       "      <td>d_sfrom=search_prime&amp;d_ckId=null&amp;d_curPage=19&amp;...</td>\n",
       "      <td>False</td>\n",
       "      <td>383abb07ed413052f94fc21239521bd3</td>\n",
       "      <td>武女士</td>\n",
       "      <td>招聘专员</td>\n",
       "      <td>539ca0c993c759e3bf1edd1f3249a09c</td>\n",
       "      <td>2</td>\n",
       "      <td>5f8f9863f6d1ab58476f246a08u.jpg</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>38</th>\n",
       "      <td>{\"jobKind\":\"2\",\"userId\":\"59838f9ed5cb4b2285fc0...</td>\n",
       "      <td>%7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...</td>\n",
       "      <td>电子/半导体/集成电路</td>\n",
       "      <td>全芯科电子技术(深圳)有限公司</td>\n",
       "      <td>NaN</td>\n",
       "      <td>61b07937d0458d53c627567e02u.jpg</td>\n",
       "      <td>50-99人</td>\n",
       "      <td>9218391.0</td>\n",
       "      <td>https://www.liepin.com/company/9218391/</td>\n",
       "      <td>[电子/半导体/集成电路, 灯饰照明]</td>\n",
       "      <td>...</td>\n",
       "      <td>https://www.liepin.com/job/1952706705.shtml</td>\n",
       "      <td>d_sfrom=search_prime&amp;d_ckId=null&amp;d_curPage=19&amp;...</td>\n",
       "      <td>False</td>\n",
       "      <td>59838f9ed5cb4b2285fc0aa2055aa2b6</td>\n",
       "      <td>彭女士</td>\n",
       "      <td>HR</td>\n",
       "      <td>71c74d9a8d32d931bb772d40c319282f</td>\n",
       "      <td>2</td>\n",
       "      <td>5f8f986779c7cc70efbf36c008u.jpg</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>39</th>\n",
       "      <td>{\"jobKind\":\"2\",\"userId\":\"e427f00d0f616ef89112e...</td>\n",
       "      <td>%7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...</td>\n",
       "      <td>在线社交/媒体</td>\n",
       "      <td>深圳来星网络科技有限公司</td>\n",
       "      <td>天使轮</td>\n",
       "      <td>6094b7d9df45a46a965afd4804u.png</td>\n",
       "      <td>50-99人</td>\n",
       "      <td>9765701.0</td>\n",
       "      <td>https://www.liepin.com/company/9765701/</td>\n",
       "      <td>[产品设计, c端产品, 用户增长, 社交产品, 内容产品]</td>\n",
       "      <td>...</td>\n",
       "      <td>https://www.liepin.com/job/1937744875.shtml</td>\n",
       "      <td>d_sfrom=search_prime&amp;d_ckId=null&amp;d_curPage=19&amp;...</td>\n",
       "      <td>False</td>\n",
       "      <td>e427f00d0f616ef89112e186740c0618</td>\n",
       "      <td>吴女士</td>\n",
       "      <td>人力资源经理</td>\n",
       "      <td>3e123ba490ec40d69f90a7bcfdb96d0e</td>\n",
       "      <td>2</td>\n",
       "      <td>5f8f98648dbe6273dcf8515508u.jpg</td>\n",
       "      <td>NaN</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>800 rows × 32 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "                                           dataParams  \\\n",
       "0   {\"jobId\":\"48818805\",\"recruiterName\":\"吴先生\",\"imI...   \n",
       "1   {\"jobId\":\"61653337\",\"recruiterName\":\"秦女士\",\"imI...   \n",
       "2   {\"jobId\":\"61177229\",\"recruiterName\":\"陈女士\",\"imI...   \n",
       "3   {\"jobId\":\"42531029\",\"recruiterName\":\"徐女士\",\"imI...   \n",
       "4   {\"jobId\":\"58493007\",\"recruiterName\":\"姚女士\",\"imI...   \n",
       "..                                                ...   \n",
       "35  {\"jobKind\":\"2\",\"userId\":\"a635928ed4daa55b7bf45...   \n",
       "36  {\"jobKind\":\"2\",\"userId\":\"5c6bf22f396570fcac158...   \n",
       "37  {\"jobKind\":\"2\",\"userId\":\"383abb07ed413052f94fc...   \n",
       "38  {\"jobKind\":\"2\",\"userId\":\"59838f9ed5cb4b2285fc0...   \n",
       "39  {\"jobKind\":\"2\",\"userId\":\"e427f00d0f616ef89112e...   \n",
       "\n",
       "                                             dataInfo comp.compIndustry  \\\n",
       "0   %7B%22d_curPage%22%3A%220%22%2C%22d_pageSize%2...       电子/半导体/集成电路   \n",
       "1   %7B%22d_curPage%22%3A%220%22%2C%22d_pageSize%2...           房地产开发经营   \n",
       "2   %7B%22d_curPage%22%3A%220%22%2C%22d_pageSize%2...          货运/物流/仓储   \n",
       "3   %7B%22d_curPage%22%3A%220%22%2C%22d_pageSize%2...          基金/证券/期货   \n",
       "4   %7B%22d_curPage%22%3A%220%22%2C%22d_pageSize%2...                制药   \n",
       "..                                                ...               ...   \n",
       "35  %7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...       电子/半导体/集成电路   \n",
       "36  %7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...             批发/零售   \n",
       "37  %7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...               互联网   \n",
       "38  %7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...       电子/半导体/集成电路   \n",
       "39  %7B%22sfrom%22%3A%22search_job_pc%22%2C%22jobK...           在线社交/媒体   \n",
       "\n",
       "      comp.compName comp.compStage                    comp.compLogo  \\\n",
       "0        厦门唯样科技有限公司          融资未公开  5c6e1794261c45f047888e8e04u.png   \n",
       "1     深圳市星河商置集团有限公司            NaN  60c19143d386331b9911807308u.png   \n",
       "2             华灵云科技             A轮  63f815663b91264a105d2ce008u.png   \n",
       "3              中证信用            NaN  5bfe9c9474719df0ac9a3d2803a.png   \n",
       "4     深圳华大基因股份有限公司-            NaN  5f856e348dbe6273dcf3420906u.png   \n",
       "..              ...            ...                              ...   \n",
       "35       深圳勤基科技有限公司            NaN  5f471a98ea60860b750a898304u.jpg   \n",
       "36       北京多拉科技有限公司             B轮  5ea16f9f82b0b02ff4155fe102u.jpg   \n",
       "37             法本信息            已上市  5d8c1e41d0e79f08cf11c72e04u.jpg   \n",
       "38  全芯科电子技术(深圳)有限公司            NaN  61b07937d0458d53c627567e02u.jpg   \n",
       "39     深圳来星网络科技有限公司            天使轮  6094b7d9df45a46a965afd4804u.png   \n",
       "\n",
       "   comp.compScale  comp.compId                                 comp.link  \\\n",
       "0          50-99人    9885213.0   https://www.liepin.com/company/9885213/   \n",
       "1      1000-2000人   10014083.0  https://www.liepin.com/company/10014083/   \n",
       "2        100-499人    9223438.0   https://www.liepin.com/company/9223438/   \n",
       "3        500-999人    8518539.0   https://www.liepin.com/company/8518539/   \n",
       "4      2000-5000人    9997171.0   https://www.liepin.com/company/9997171/   \n",
       "..            ...          ...                                       ...   \n",
       "35       500-999人    7912855.0   https://www.liepin.com/company/7912855/   \n",
       "36       100-499人    9205583.0   https://www.liepin.com/company/9205583/   \n",
       "37       10000人以上    7604446.0   https://www.liepin.com/company/7604446/   \n",
       "38         50-99人    9218391.0   https://www.liepin.com/company/9218391/   \n",
       "39         50-99人    9765701.0   https://www.liepin.com/company/9765701/   \n",
       "\n",
       "                                           job.labels  ...  \\\n",
       "0                                        [渠道运营, 产品运营]  ...   \n",
       "1                                                [本科]  ...   \n",
       "2   [本科, 产品优化, 数据分析, 流程设计, 市场调研, 海外产品, 供应链产品, 电商产品...  ...   \n",
       "3                                                [本科]  ...   \n",
       "4                                    [硕士, 策略产品, 药物研发]  ...   \n",
       "..                                                ...  ...   \n",
       "35                                [IC行业, 项目管理, 电源适配器]  ...   \n",
       "36                   [数据分析, 项目管理, 分析网络流量指标, 网站内容开发管理]  ...   \n",
       "37         [oracle, hbase, redis, mongodb, crm, 需求分析]  ...   \n",
       "38                                [电子/半导体/集成电路, 灯饰照明]  ...   \n",
       "39                     [产品设计, c端产品, 用户增长, 社交产品, 内容产品]  ...   \n",
       "\n",
       "                                       job.link  \\\n",
       "0   https://www.liepin.com/job/1948818805.shtml   \n",
       "1        https://www.liepin.com/lptjob/61653337   \n",
       "2        https://www.liepin.com/lptjob/61177229   \n",
       "3        https://www.liepin.com/lptjob/42531029   \n",
       "4        https://www.liepin.com/lptjob/58493007   \n",
       "..                                          ...   \n",
       "35  https://www.liepin.com/job/1940089889.shtml   \n",
       "36  https://www.liepin.com/job/1937310997.shtml   \n",
       "37  https://www.liepin.com/job/1943007349.shtml   \n",
       "38  https://www.liepin.com/job/1952706705.shtml   \n",
       "39  https://www.liepin.com/job/1937744875.shtml   \n",
       "\n",
       "                                       job.dataPromId recruiter.chatted  \\\n",
       "0   d_sfrom=search_prime&d_ckId=null&d_curPage=0&d...             False   \n",
       "1   d_sfrom=search_prime&d_ckId=null&d_curPage=0&d...             False   \n",
       "2   d_sfrom=search_prime&d_ckId=null&d_curPage=0&d...             False   \n",
       "3   d_sfrom=search_prime&d_ckId=null&d_curPage=0&d...             False   \n",
       "4   d_sfrom=search_prime&d_ckId=null&d_curPage=0&d...             False   \n",
       "..                                                ...               ...   \n",
       "35  d_sfrom=search_prime&d_ckId=null&d_curPage=19&...             False   \n",
       "36  d_sfrom=search_prime&d_ckId=null&d_curPage=19&...             False   \n",
       "37  d_sfrom=search_prime&d_ckId=null&d_curPage=19&...             False   \n",
       "38  d_sfrom=search_prime&d_ckId=null&d_curPage=19&...             False   \n",
       "39  d_sfrom=search_prime&d_ckId=null&d_curPage=19&...             False   \n",
       "\n",
       "               recruiter.recruiterId recruiter.recruiterName  \\\n",
       "0   09ea96f81e58eafe6ac4e705fd2725a1                     吴先生   \n",
       "1   c960a7e65b25d69968472aa719a7e906                     秦女士   \n",
       "2   6d03c94152e68a1deb7401c8ff401190                     陈女士   \n",
       "3   ef5d580dff432d194afb66bee97d56f1                     徐女士   \n",
       "4   5533e5908488031ad49ac88f0f6f1954                     姚女士   \n",
       "..                               ...                     ...   \n",
       "35  a635928ed4daa55b7bf4554d6fc4f6ab                     张先生   \n",
       "36  5c6bf22f396570fcac158622158dfd68                     何先生   \n",
       "37  383abb07ed413052f94fc21239521bd3                     武女士   \n",
       "38  59838f9ed5cb4b2285fc0aa2055aa2b6                     彭女士   \n",
       "39  e427f00d0f616ef89112e186740c0618                     吴女士   \n",
       "\n",
       "   recruiter.recruiterTitle                    recruiter.imId  \\\n",
       "0                       总经理  fd14de11be220755ac365a663ca833da   \n",
       "1                            edcfb0c58429eea8befa578784e31c32   \n",
       "2                        HR  c240626b125829e0ccf79dbc9e75a66a   \n",
       "3                    人力资源主管  73039a92c2455c32dfb6df235db455f2   \n",
       "4                      hr主管  0acc37b082c9b84172bb60d29c324b6a   \n",
       "..                      ...                               ...   \n",
       "35                     副总经理  68772ed4d1c15eb002f523e94e784db2   \n",
       "36                       hr  7689ddce3bd8820ddfb6df235db455f2   \n",
       "37                     招聘专员  539ca0c993c759e3bf1edd1f3249a09c   \n",
       "38                       HR  71c74d9a8d32d931bb772d40c319282f   \n",
       "39                   人力资源经理  3e123ba490ec40d69f90a7bcfdb96d0e   \n",
       "\n",
       "   recruiter.imUserType         recruiter.recruiterPhoto job.campusJobKind  \n",
       "0                     2  5f8f986bdfb13a7dee342f2108u.jpg               NaN  \n",
       "1                     2  5f8f9866dfb13a7dee342f1808u.jpg                应届  \n",
       "2                     2  5f8f986779c7cc70efbf36c008u.jpg                应届  \n",
       "3                     2  5f8f986779c7cc70efbf36c008u.jpg                应届  \n",
       "4                     2  5f8f9866dfb13a7dee342f1808u.jpg                应届  \n",
       "..                  ...                              ...               ...  \n",
       "35                    2  5f8f986aea60860b75384fab08u.jpg               NaN  \n",
       "36                    2  5f8f986c79c7cc70efbf36c808u.jpg               NaN  \n",
       "37                    2  5f8f9863f6d1ab58476f246a08u.jpg               NaN  \n",
       "38                    2  5f8f986779c7cc70efbf36c008u.jpg               NaN  \n",
       "39                    2  5f8f98648dbe6273dcf8515508u.jpg               NaN  \n",
       "\n",
       "[800 rows x 32 columns]"
      ]
     },
     "execution_count": 6,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "   产品经理_深圳_results"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "id": "687fb60b",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "Index(['dataParams', 'dataInfo', 'comp.compIndustry', 'comp.compName',\n",
       "       'comp.compStage', 'comp.compLogo', 'comp.compScale', 'comp.compId',\n",
       "       'comp.link', 'job.labels', 'job.title', 'job.jobId', 'job.salary',\n",
       "       'job.pcOuterLink', 'job.h5OuterLink', 'job.dq', 'job.jobKind',\n",
       "       'job.refreshTime', 'job.requireWorkYears', 'job.requireEduLevel',\n",
       "       'job.advViewFlag', 'job.topJob', 'job.link', 'job.dataPromId',\n",
       "       'recruiter.chatted', 'recruiter.recruiterId', 'recruiter.recruiterName',\n",
       "       'recruiter.recruiterTitle', 'recruiter.imId', 'recruiter.imUserType',\n",
       "       'recruiter.recruiterPhoto', 'job.campusJobKind'],\n",
       "      dtype='object')"
      ]
     },
     "execution_count": 7,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "产品经理_深圳_results.columns"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "id": "dd16f57c",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "深圳-南山区    234\n",
       "深圳        228\n",
       "深圳-福田区    104\n",
       "深圳-宝安区     63\n",
       "深圳-龙岗区     55\n",
       "深圳-龙华区     51\n",
       "深圳-罗湖区     21\n",
       "深圳-坪山区     18\n",
       "深圳-光明区     16\n",
       "深圳-盐田区     10\n",
       "Name: job.dq, dtype: int64"
      ]
     },
     "execution_count": 8,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "series_dq = 产品经理_深圳_results['job.dq'].value_counts()\n",
    "series_dq"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "id": "d937b810",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['深圳-南山区',\n",
       " '深圳-福田区',\n",
       " '深圳-宝安区',\n",
       " '深圳-龙岗区',\n",
       " '深圳-龙华区',\n",
       " '深圳-罗湖区',\n",
       " '深圳-坪山区',\n",
       " '深圳-光明区',\n",
       " '深圳-盐田区']"
      ]
     },
     "execution_count": 9,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "dq_name= [i for i in series_dq.index if '-' in i]\n",
    "dq_name"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "id": "27070f25",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "array([234, 104,  63,  55,  51,  21,  18,  16,  10], dtype=int64)"
      ]
     },
     "execution_count": 10,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "series_dq[dq_name].values"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "id": "af1a1a08",
   "metadata": {},
   "outputs": [],
   "source": [
    "from pyecharts import options as opts\n",
    "from pyecharts.charts import Map\n",
    "from pyecharts.faker import Faker"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "id": "fb053ac4",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['南山区', '福田区', '宝安区', '龙岗区', '龙华区', '罗湖区', '坪山区', '光明区', '盐田区']"
      ]
     },
     "execution_count": 12,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "[i.split('-')[1] for i in dq_name]"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "id": "a5da7b31",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[234, 104, 63, 55, 51, 21, 18, 16, 10]"
      ]
     },
     "execution_count": 13,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "series_dq[dq_name].values.tolist()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "id": "263ba9df",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts':'https://assets.pyecharts.org/assets/v5/echarts.min', '深圳':'https://assets.pyecharts.org/assets/v5/maps/guang3_dong1_shen1_zhen4'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "\n",
       "        <div id=\"5bd646a4c85c47e08701db7dbc017acf\" style=\"width:900px; height:500px;\"></div>\n",
       "\n",
       "<script>\n",
       "        require(['echarts', '深圳'], function(echarts) {\n",
       "                var chart_5bd646a4c85c47e08701db7dbc017acf = echarts.init(\n",
       "                    document.getElementById('5bd646a4c85c47e08701db7dbc017acf'), 'white', {renderer: 'canvas'});\n",
       "                var option_5bd646a4c85c47e08701db7dbc017acf = {\n",
       "    \"animation\": true,\n",
       "    \"animationThreshold\": 2000,\n",
       "    \"animationDuration\": 1000,\n",
       "    \"animationEasing\": \"cubicOut\",\n",
       "    \"animationDelay\": 0,\n",
       "    \"animationDurationUpdate\": 300,\n",
       "    \"animationEasingUpdate\": \"cubicOut\",\n",
       "    \"animationDelayUpdate\": 0,\n",
       "    \"aria\": {\n",
       "        \"enabled\": false\n",
       "    },\n",
       "    \"color\": [\n",
       "        \"#5470c6\",\n",
       "        \"#91cc75\",\n",
       "        \"#fac858\",\n",
       "        \"#ee6666\",\n",
       "        \"#73c0de\",\n",
       "        \"#3ba272\",\n",
       "        \"#fc8452\",\n",
       "        \"#9a60b4\",\n",
       "        \"#ea7ccc\"\n",
       "    ],\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"map\",\n",
       "            \"name\": \"\\u4ea7\\u54c1\\u7ecf\\u7406\\u5730\\u533a\\u5206\\u5e03\",\n",
       "            \"label\": {\n",
       "                \"show\": true,\n",
       "                \"margin\": 8\n",
       "            },\n",
       "            \"map\": \"\\u6df1\\u5733\",\n",
       "            \"data\": [\n",
       "                {\n",
       "                    \"name\": \"\\u5357\\u5c71\\u533a\",\n",
       "                    \"value\": 234\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u798f\\u7530\\u533a\",\n",
       "                    \"value\": 104\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5b9d\\u5b89\\u533a\",\n",
       "                    \"value\": 63\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9f99\\u5c97\\u533a\",\n",
       "                    \"value\": 55\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u9f99\\u534e\\u533a\",\n",
       "                    \"value\": 51\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u7f57\\u6e56\\u533a\",\n",
       "                    \"value\": 21\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u576a\\u5c71\\u533a\",\n",
       "                    \"value\": 18\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u5149\\u660e\\u533a\",\n",
       "                    \"value\": 16\n",
       "                },\n",
       "                {\n",
       "                    \"name\": \"\\u76d0\\u7530\\u533a\",\n",
       "                    \"value\": 10\n",
       "                }\n",
       "            ],\n",
       "            \"roam\": true,\n",
       "            \"aspectScale\": 0.75,\n",
       "            \"nameProperty\": \"name\",\n",
       "            \"selectedMode\": false,\n",
       "            \"zoom\": 1,\n",
       "            \"zlevel\": 0,\n",
       "            \"z\": 2,\n",
       "            \"seriesLayoutBy\": \"column\",\n",
       "            \"datasetIndex\": 0,\n",
       "            \"mapValueCalculation\": \"sum\",\n",
       "            \"showLegendSymbol\": true,\n",
       "            \"emphasis\": {}\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u4ea7\\u54c1\\u7ecf\\u7406\\u5730\\u533a\\u5206\\u5e03\"\n",
       "            ],\n",
       "            \"selected\": {},\n",
       "            \"show\": true,\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"itemWidth\": 25,\n",
       "            \"itemHeight\": 14,\n",
       "            \"backgroundColor\": \"transparent\",\n",
       "            \"borderColor\": \"#ccc\",\n",
       "            \"borderWidth\": 1,\n",
       "            \"borderRadius\": 0,\n",
       "            \"pageButtonItemGap\": 5,\n",
       "            \"pageButtonPosition\": \"end\",\n",
       "            \"pageFormatter\": \"{current}/{total}\",\n",
       "            \"pageIconColor\": \"#2f4554\",\n",
       "            \"pageIconInactiveColor\": \"#aaa\",\n",
       "            \"pageIconSize\": 15,\n",
       "            \"animationDurationUpdate\": 800,\n",
       "            \"selector\": false,\n",
       "            \"selectorPosition\": \"auto\",\n",
       "            \"selectorItemGap\": 7,\n",
       "            \"selectorButtonGap\": 10\n",
       "        }\n",
       "    ],\n",
       "    \"tooltip\": {\n",
       "        \"show\": true,\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"showContent\": true,\n",
       "        \"alwaysShowContent\": false,\n",
       "        \"showDelay\": 0,\n",
       "        \"hideDelay\": 100,\n",
       "        \"enterable\": false,\n",
       "        \"confine\": false,\n",
       "        \"appendToBody\": false,\n",
       "        \"transitionDuration\": 0.4,\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"borderWidth\": 0,\n",
       "        \"padding\": 5,\n",
       "        \"order\": \"seriesAsc\"\n",
       "    },\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"text\": \"Map-\\u6df1\\u5733-\\u4ea7\\u54c1\\u7ecf\\u7406\",\n",
       "            \"target\": \"blank\",\n",
       "            \"subtarget\": \"blank\",\n",
       "            \"padding\": 5,\n",
       "            \"itemGap\": 10,\n",
       "            \"textAlign\": \"auto\",\n",
       "            \"textVerticalAlign\": \"auto\",\n",
       "            \"triggerEvent\": false\n",
       "        }\n",
       "    ],\n",
       "    \"visualMap\": {\n",
       "        \"show\": true,\n",
       "        \"type\": \"continuous\",\n",
       "        \"min\": 0,\n",
       "        \"max\": 100,\n",
       "        \"inRange\": {\n",
       "            \"color\": [\n",
       "                \"#50a3ba\",\n",
       "                \"#eac763\",\n",
       "                \"#d94e5d\"\n",
       "            ]\n",
       "        },\n",
       "        \"calculable\": true,\n",
       "        \"inverse\": false,\n",
       "        \"splitNumber\": 5,\n",
       "        \"hoverLink\": true,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"padding\": 5,\n",
       "        \"showLabel\": true,\n",
       "        \"itemWidth\": 20,\n",
       "        \"itemHeight\": 140,\n",
       "        \"borderWidth\": 0\n",
       "    }\n",
       "};\n",
       "                chart_5bd646a4c85c47e08701db7dbc017acf.setOption(option_5bd646a4c85c47e08701db7dbc017acf);\n",
       "        });\n",
       "    </script>\n"
      ],
      "text/plain": [
       "<pyecharts.render.display.HTML at 0x205346973a0>"
      ]
     },
     "execution_count": 14,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts import options as opts\n",
    "from pyecharts.charts import Map\n",
    "from pyecharts.faker import Faker\n",
    "\n",
    "c = (\n",
    "    Map()\n",
    "    .add(\"产品经理地区分布\", [list(z) for z in zip([i.split('-')[1] for i in dq_name],series_dq[dq_name].values.tolist())], \"深圳\")\n",
    "    .set_global_opts(\n",
    "        title_opts=opts.TitleOpts(title=\"Map-深圳-产品经理\"), visualmap_opts=opts.VisualMapOpts()\n",
    "    )\n",
    "    \n",
    ")\n",
    "c.render_notebook()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "id": "dba33c96",
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3 (ipykernel)",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.9.12"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
